package edu.java.homework.hw09.exercises.nikolay.food.ingredient.type;

public enum VegetableType implements IngredientType {

	// --- Constants -----------------------------------------------------------

	LETTUCE(2),

	CUCUMBER(2),

	TOMATO(10),

	CABBAGE(10),

	ONION(5),

	GARLIC(5),

	PARSLEY(2),

	CARROT(5),

	CORNS(20),

	PEAS(10),

	PICKLED_CUCUMBER(20),

	BOILED_POTATO(10),

	RAW_HOT_PEPPER(5),

	RAW_RED_PEPPER(5),

	BAKED_RED_PEPPER(5),

	RAW_GREEN_PEPPER(5),

	TURNIP(10),

	MARINADE_MUSHROOMS(20),

	OLIVE(10);

	// --- Instance Variables --------------------------------------------------

	private int price = 0;

	// --- Constructors --------------------------------------------------------

	private VegetableType(int price) {
		this.price = price;
	}

	// --- Methods -------------------------------------------------------------

	public int getPrice() {
		return price;
	}

	@Override
	public String toString() {
		return name().toLowerCase();
	}
}
